

// 所有接口的服务层

import {axios,get,post} from "@/utils/axios"


/*
获取验证码
*/ 
export const getcsrftoken = params => get("/vue/gettoken",params);

/*
登录
*/ 
export const signinAjax = params => post("/vue/signin",params);

/*
获取个人信息
*/ 
export const getuserinfo = params => post("/vue/getuserinfo",params);


/*
添加用户
*/ 
export const adduserAjax = params => post("/vue/adduser",params);

/*
查询用户
*/ 
export const getuserlist = params => post("/vue/getuserlist",params);



/*
删除用户
*/ 
export const deluserAjax = params => post("/vue/deluser",params);


/*
修改用户
*/ 
export const updateuserone = params => post("/vue/updateuserone",params);



// 体温记录

/*
添加体温 
*/ 
export const addtiwen = params => post("/vue/addtiwen",params);


/*
查询体温记录 
*/ 
export const getmytiwenlist = params => post("/vue/mytiwenlist",params);


/*
删除体温记录 
*/ 
export const delOneList = params => post("/vue/delOneList",params);

/*
修改体温记录 
*/ 
export const updatetiwenone = params => post("/vue/updatetiwenone",params);

/*
修改体温记录 是否检测
*/ 
export const updateishei = params => post("/vue/updateishei",params);



/*
修改体温记录  核酸结果 
*/ 
export const updateisyin = params => post("/vue/updateisyin",params);

/*
banner
*/ 
export const gethomebanner = params => post("/vue/gethomebanner",params);


/*
addadvise 添加意见
*/ 
export const addadvise = params => post("/vue/addadvise",params);


/*
getadviselist 意见列表
*/ 
export const getadviselist = params => post("/vue/getadviselist",params);

/*
delAdviseOne 意见删除
*/ 
export const delAdviseOne = params => post("/vue/delAdviseOne",params);


/*
getadvisebyid 意见详情
*/ 
export const getadvisebyid = params => post("/vue/getadvisebyid",params);


/*
updateadvisebyid 修改意见详情
*/ 
export const updateadvisebyid = params => post("/vue/updateadvisebyid",params);


/*
addreply 回复
*/ 
export const addreply = params => post("/vue/addreply",params);


/*
goodlist 商品列表
*/ 
export const getgoodlist = params => post("/vue/goodlist",params);


/*
goodlist 商品分类
*/ 
export const getgoodtypelist = params => post("/vue/goodtypelist",params);



/*
getgoodone 商品详情
*/ 
export const getgoodone = params => post("/vue/getgoodone",params);



/*
addtocart 添加购物车 
*/ 
export const addtocartajax = params => post("/vue/addtocart",params);


/*
getmycart 我的购物车 
*/ 
export const getmycart = params => post("/vue/getmycart",params);


/*
changecartcount 修改数量
*/ 
export const changecartcount = params => post("/vue/changecartcount",params);


/*
changecartcount 修改选中
*/ 
export const changecartcheck = params => post("/vue/changecartcheck",params);


/*
delcartone 删除
*/ 
export const delcartone = params => post("/vue/delcartone",params);


/*
delcartcheck 批量删除
*/ 
export const delcartcheck = params => post("/vue/delcartcheck",params);


/*
uploadpic 上传头像
*/ 
export const uploadpic = params => post("/vue/uploadpic",params);